/**
 * @Auto generation code
 * Captcha Controller
 */
import request from '../common/request/request.js'

/**
 * 
 * path, params, loading
 * 获取验证码，存取在mongodb - GET
 */
export const getCaptchaCodeMongoType = async ({// query params
		phone   // 用户手机号 ,必填 
	
}, loading) => {
	return await request.get('/captcha', {
		 phone, 
	}, loading)
}


/**
 * 
 * path, params, loading
 * 极验验证码 - GET
 */
export const gtCaptcha = async ({// query params
		uuid   // uuid ,必填 
	
}, loading) => {
	return await request.get('/captcha/gt', {
		 uuid, 
	}, loading)
}

